package vip.liux.backend.application.service.files.dtos;

import jakarta.annotation.Nullable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import vip.liux.application.dots.AuditedEntityDto;
import vip.liux.contracts.shared.enums.file.FileType;

@EqualsAndHashCode(callSuper = true)
@Data
public class FileDescriptorDto extends AuditedEntityDto<Long> {

    @Nullable
    private Long directoryId;

    private String name;

    private String mimeType;

    private int size;

    private String ext;

    private FileType fileType;

    private String cdnUrl;
}
